//
//  ZDBNewTableViewCell.m
//  ZDB
//
//  Created by Kk on 2020/4/9.
//  Copyright © 2020 ZDB. All rights reserved.
//

#import "ZDBNewTableViewCell.h"

@implementation ZDBNewTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.backgroundColor = VIEWBGCOLOR;
    self.selectionStyle = UITableViewCellAccessoryNone;
}
- (void)setModel:(ZDBNotice *)model
{
    _time.text = [ZBDUnit getOtherTimeStrWithString:model.createTime];
    _titleLab.text = model.title;
    _content.text = model.content;
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
